package com.lagou.edu.pojo;

public class Account {

	private String cardNo;
	private String name;
	private int money;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	@Override
	public String toString() {
		return "Account{" +
				"cardNo='" + cardNo + '\'' +
				", name='" + name + '\'' +
				", money=" + money +
				'}';
	}
}
